package day04;

public class ForDemo {
    public static void main(String[] args) {
        for (int i = 1; i <= 9; i++) {
            for (int j = i; j <= 9; j++) {
                System.out.print(i + "×" + j + "=" + i * j + " ");
            }
            System.out.println();
        }
        for (int i = 0; i < 5; i++) {
            System.out.println("该下课了吃饭了吃饭吃饭吃饭吃饭了！！！！！！！！！！！！！！！！！！！");
        }
        for (int i = 1; i <= 9; i++) {
            System.out.println(i + "×9=" + i * 9);
        }
        for (int i = 9; i >= 1; i--) {
            System.out.println(i + "×9=" + i * 9);
        }

        int sum = 0;
        for (int i = 1; i <= 100; i++) {
            sum += i;
        }
        System.out.println("1+2+3+....+99+100=" + sum);
    }
}
